Skip to content

bpo-33292: Fix secrets.randbelow docstring#6497

Closed
nixawk wants to merge 3 commits intopython:masterfrom
nixawk:nixawk-patch-2-secrets-randbelow
Closed

bpo-33292: Fix secrets.randbelow docstring#6497
nixawk wants to merge 3 commits intopython:masterfrom
nixawk:nixawk-patch-2-secrets-randbelow

Conversation

@nixawk
Copy link
Copy Markdown

@nixawk nixawk commented Apr 17, 2018

Please fix

"""Return a random int in the range [0, n)."""

to

"""Return a random integer x satisfying 0 <= x < n."""

https://bugs.python.org/issue33292

@nixawk
Copy link
Copy Markdown
Author

nixawk commented Apr 17, 2018

Sorry for the interval notation syntax. It's not a valid pr.

@nixawk nixawk closed this Apr 17, 2018
@nixawk nixawk reopened this Apr 18, 2018
@csabella
Copy link
Copy Markdown
Contributor

Thank you for the suggestion. The bug tracker issue was closed as 'not a bug', so this PR should be closed as well. The current interval notation is acceptable.

@csabella csabella closed this May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants